package com.example.back.dto.req;


import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "疾病列表请求体")
public class DiseaseListReq implements Serializable {


    private static final long serialVersionUID = 587777225349339543L;
    @ApiModelProperty(value = "疾病名称")
    @JSONField(name = "name")
    private String name;

    @ApiModelProperty(value = "疾病状态")
    @JSONField(name = "disable")
    private Boolean disable;

    @ApiModelProperty(value = "病种类型")
    @JSONField(name = "type")
    private Byte type;

    @ApiModelProperty(value = "分页页码，默认1页")
    @JSONField(name = "page")
    private Integer page;

    @ApiModelProperty(value = "分页条数，默认10条")
    @JSONField(name = "limit")
    private Integer limit;


}
